package com.ruoyi.project.sales.orders.search.mapper;

import com.ruoyi.project.sales.orders.search.domain.Product;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper {

    List<Integer> selectProductSum();

    int insertProduct(Product product);

    int updateProduct(@Param("oid") Integer order_id, @Param("product_sum") Integer product_sum);
}
